package com.shijunhao.graduation.domain.vo;

import cn.hutool.system.UserInfo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shijunhao.graduation.domain.entity.BusinessHotInfo;
import com.shijunhao.graduation.domain.entity.BusinessNote;
import com.shijunhao.graduation.domain.entity.BusinessUserInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: shijunhao
 * @date: 2022/4/8 22:32
 * @description:
 */
@ApiModel("文章信息显示实体")
public class BusinessNoteVo {
    @ApiModelProperty(name="文章信息")
    private BusinessNote note;
    @ApiModelProperty(name="文章内容")
    private String content;

    @ApiModelProperty(name="评论信息")
    private Page<DiscussVo> discussVoPage;

    @ApiModelProperty(name="热度信息")
    private BusinessHotInfo hotInfo;

    @ApiModelProperty(name="创建用户信息")
    private BusinessUserInfo userInfo;


    public BusinessUserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(BusinessUserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public BusinessNote getNote() {
        return note;
    }

    public void setNote(BusinessNote note) {
        this.note = note;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Page<DiscussVo> getDiscussVoPage() {
        return discussVoPage;
    }

    public void setDiscussVoPage(Page<DiscussVo> discussVoPage) {
        this.discussVoPage = discussVoPage;
    }

    public BusinessHotInfo getHotInfo() {
        return hotInfo;
    }

    public void setHotInfo(BusinessHotInfo hotInfo) {
        this.hotInfo = hotInfo;
    }
}
